/** 全局的动画，在collapse / picker / tooltip / popover 等组件有用到
vue2的动画状态类：  v-enter       v-enter-to  v-leave      v-leave-to 以及 v-enter-active, v-leave-active
vue3的动画状态类：  v-enter-from  v-enter-to  v-leave-from v-leave-to 以及 v-enter-active, v-leave-active
*/

.fade-in-linear-enter-active,
.fade-in-linear-leave-active {
  transition: opacity 0.2s linear;
}

.fade-in-linear-enter,
.fade-in-linear-enter-from,
.fade-in-linear-leave-to {
  opacity: 0;
}

.fade-in-enter-active,
.fade-in-leave-active {
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.fade-in-enter,
.fade-in-enter-from,
.fade-in-leave-to {
  opacity: 0;
}

.zoom-in-center-enter-active,
.zoom-in-center-leave-active {
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.zoom-in-center-enter,
.zoom-in-center-enter-from,
.zoom-in-center-leave-to {
  opacity: 0;
  transform: scaleX(0);
}

.zoom-in-top-enter-active,
.zoom-in-top-leave-active {
  opacity: 1;
  transform: scaleY(1);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center top;
}

.zoom-in-top-enter,
.zoom-in-top-enter-from,
.zoom-in-top-leave-to {
  opacity: 0;
  transform: scaleY(0);
}

.zoom-in-bottom-enter-active,
.zoom-in-bottom-leave-active {
  opacity: 1;
  transform: scaleY(1);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center bottom;
}

.zoom-in-bottom-enter,
.zoom-in-bottom-enter-from,
.zoom-in-bottom-leave-to {
  opacity: 0;
  transform: scaleY(0);
}

.zoom-in-left-enter-active,
.zoom-in-left-leave-active {
  opacity: 1;
  transform: scale(1, 1);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: top left;
}

.zoom-in-left-enter,
.zoom-in-left-enter-from,
.zoom-in-left-leave-to {
  opacity: 0;
  transform: scale(0.45, 0.45);
}

.list-enter-active,
.list-leave-active {
  transition: all 1s;
}

.list-enter,
.list-enter-from,
.list-leave-to {
  opacity: 0;
  transform: translateY(-30px);
}

.opacity-transition {
  transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.collapse-transition {
  transition:
    0.3s height ease-in-out,
    0.3s padding-top ease-in-out,
    0.3s padding-bottom ease-in-out;
}

.horizontal-collapse-transition {
  transition:
    0.3s width ease-in-out,
    0.3s padding-left ease-in-out,
    0.3s padding-right ease-in-out;
}

.tiny-fade-in-linear-enter-active,
.tiny-fade-in-linear-leave-active {
  transition: opacity 0.2s linear;
}

.tiny-fade-in-linear-enter,
.tiny-fade-in-linear-enter-from,
.tiny-fade-in-linear-leave-to {
  opacity: 0;
}

.tiny-fade-in-enter-active,
.tiny-fade-in-leave-active {
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.tiny-fade-in-enter,
.tiny-fade-in-enter-from,
.tiny-fade-in-leave-to {
  opacity: 0;
}

.tiny-zoom-in-center-enter-active,
.tiny-zoom-in-center-leave-active {
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.tiny-zoom-in-center-enter,
.tiny-zoom-in-center-enter-from,
.tiny-zoom-in-center-leave-to {
  opacity: 0;
  transform: scaleX(0);
}

.tiny-zoom-in-top-enter-active,
.tiny-zoom-in-top-leave-active {
  opacity: 1;
  transform: scaleY(1);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center top;
}

.tiny-zoom-in-top-enter,
.tiny-zoom-in-top-enter-from,
.tiny-zoom-in-top-leave-to {
  opacity: 0;
  transform: scaleY(0);
}

.tiny-zoom-in-bottom-enter-active,
.tiny-zoom-in-bottom-leave-active {
  opacity: 1;
  transform: scaleY(1);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center bottom;
}

.tiny-zoom-in-bottom-enter,
.tiny-zoom-in-bottom-enter-from,
.tiny-zoom-in-bottom-leave-to {
  opacity: 0;
  transform: scaleY(0);
}

.tiny-zoom-in-left-enter-active,
.tiny-zoom-in-left-leave-active {
  opacity: 1;
  transform: scale(1, 1);
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: top left;
}

.tiny-zoom-in-left-enter,
.tiny-zoom-in-left-enter-from,
.tiny-zoom-in-left-leave-to {
  opacity: 0;
  transform: scale(0.45, 0.45);
}

.tiny-list-enter-active,
.tiny-list-leave-active {
  transition: all 1s;
}

.tiny-list-enter,
.tiny-list-enter-from,
.tiny-list-leave-to {
  opacity: 0;
  transform: translateY(-30px);
}

.tiny-opacity-transition {
  transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

.tiny-collapse-transition {
  transition:
    0.3s height ease-in-out,
    0.3s padding-top ease-in-out,
    0.3s padding-bottom ease-in-out;
}

.tiny-horizontal-collapse-transition {
  transition:
    0.3s width ease-in-out,
    0.3s padding-left ease-in-out,
    0.3s padding-right ease-in-out;
}
